package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.sun.org.apache.regexp.internal.RE;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 班级基本信息
 * @author 最爱喝兽奶
 * @create 2022/9/2
 **/
public class ClassInfoBo extends BaseEntity {

    /**
     * 班级表的主键
     */
    private String id;

    /**
     * 班级的名称
     */
    @NotNull
    private String className;

    /**
     * 老师id
     */
    private String teacherId;


    /**
     * 班级被指派的教师
     */
    @NotNull
    private String assignTeachers;

    /**
     * 班级的id，也是唯一的
     */
    @NotNull
    private String classId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id.trim();
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className.trim();
    }

    public String getAssignTeachers() {
        return assignTeachers;
    }

    public void setAssignTeachers(String assignTeachers) {
        this.assignTeachers = assignTeachers.trim();
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId.trim();
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherId() {
        return this.teacherId;
    }
}
